﻿<Page x:Class="Woodlands.TimetableWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
      d:DesignHeight="550" d:DesignWidth="1360">
    <Grid Name="mainContent">
        <TabControl Height="550" FontSize="14" x:Name="subMenu" VerticalAlignment="Top" BorderBrush="Teal" Background="#FFF5F5CB" Margin="0,0,0,0" d:LayoutOverrides="Margin">
            <TabItem Header="View" x:Name="view" Background="#FFF5F5CB">
                <Grid x:Name="createGrid" Background="#FFF5F5CB">
                    <Label Content="Timetable" Height="46" Margin="8,8,0,0" x:Name="Creation" VerticalAlignment="Top" FontWeight="Bold" FontSize="30" HorizontalAlignment="Left" Width="268" />
                    <GroupBox Header="Details" BorderBrush="Teal" HorizontalAlignment="Left" Margin="8,58,0,0" VerticalAlignment="Top" Height="118" Width="392" FontWeight="Bold">
                        <Grid>
                            <Label Content="Staff/Student ID:" Height="30" HorizontalAlignment="left" x:Name="idLbl" VerticalAlignment="Top" FontWeight="Bold" Foreground="Teal" Width="126" Margin="8,9,0,0" />
                            <TextBox Height="22" x:Name="IDTxt" KeyUp="IDTxt_KeyUp_1" VerticalAlignment="Top" HorizontalAlignment="Left" Width="208" Margin="139,12,0,0" />
                            <Label Content="Week No:" Height="30" HorizontalAlignment="Left" VerticalAlignment="Top" x:Name="weeknumberLbl" Width="103" Margin="8,43,0,0" FontSize="14" FontWeight="Normal" />
                            <ComboBox HorizontalAlignment="Left" x:Name="dateSelector" SelectionChanged="dateSelector_SelectionChanged" VerticalAlignment="Top" Width="120" Margin="139,48,0,0"/>
                        </Grid>
                    </GroupBox>
                    
                    <WebBrowser x:Name="webBrowser" Margin="424,8,0,0" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Disabled" ScrollViewer.IsDeferredScrollingEnabled="False" ScrollViewer.CanContentScroll="False"/>

                </Grid>
            </TabItem>
        </TabControl>
    </Grid>
</Page>
